rolesystem.examples.jade.test
Class TestSL

java.lang.Object
  extended by rolesystem.examples.jade.test.TestSL
All Implemented Interfaces:
SubjectLayer

public class TestSL
extends java.lang.Object
implements SubjectLayer

This class uses the role of bidder for test purpose. It tries to send valid and illegal actions to itself, using two threads. This is a subject layer that can be used by agents in a role system.


Constructor Summary
TestSL()
           
 
Method Summary
 void go(RoleSystem roleSystem)
          Lets the subject layer do its job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSL

public TestSL()
Method Detail

go

public void go(RoleSystem roleSystem)
Description copied from interface: SubjectLayer
Lets the subject layer do its job. More than one thread can be used, but all of them must be terminated before this method returns.

Specified by:
go in interface SubjectLayer
Parameters:
roleSystem - An instance implementing the interface RoleSystem, that allows to participate in rolesystem.